757f747c374f1a3c6d2de734ed4c233f1f4699ba,src/main/java/com/amashchenko/maven/plugin/gitflow/AbstractGitFlowMojo.java,AbstractGitFlowMojo,mvnSetVersions,#String#,368
Before Change
getLog().info(
"Updating pom(-s) version(s) to '" + version + "' version.");
executeMvnCommand(VERSIONS_MAVEN_PLUGIN_SET_GOAL, "-DnewVersion="
+ version, "-DgenerateBackupPoms=false");
}
/**
After Change
throws MojoFailureException, CommandLineException {
getLog().info("Updating version(s) to '" + version + "'.");
if (tychoBuild) {
executeMvnCommand(TYCHO_VERSIONS_PLUGIN_SET_GOAL, "-DnewVersion="
+ version, "-Dtycho.mode=maven");
} else {
executeMvnCommand(VERSIONS_MAVEN_PLUGIN_SET_GOAL, "-DnewVersion="
+ version, "-DgenerateBackupPoms=false");
}
}